package com.danciyixue.boot.dcyx.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.*;

/**
 * 企业信息表单对象
 *
 * @author youlaitech
 * @since 2025-06-15 16:40
 */
@Getter
@Setter
@Schema(description = "企业信息表单对象")
public class EnterprisesForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "企业ID")
    private Long id;

    @Schema(description = "企业名称")
    @NotBlank(message = "企业名称不能为空")
    @Size(max=128, message="企业名称长度不能超过128个字符")
    private String name;

    @Schema(description = "状态")
    @NotNull(message = "状态不能为空")
    private Integer status;


}
